﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Principal;

namespace MyNote.Data.Models
{
    public partial class ReferenceNote
    {
        protected override void OnPropertyChanged(string property)
        {
            base.OnPropertyChanged(property);

            switch (property)
            {
                case "Url":
                case "IsMaterialized":
                    LastModified = DateTime.Now;
                    break;
                    
                default:
                    break;
            }
        }
    }
}
